package com.gpf.marketing.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @program: clms-fifth
 * @description: 客服问答实体类
 * @author: 龚鹏飞
 * @create: 2021-07-21 17:36
 **/
@Data
@TableName("tb_customer_issues")
@ApiModel(value = "客服问答",description = "客服问答")
public class CustIssues implements Serializable {
    @ApiModelProperty(value = "问答Id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "所属板块")
    private String submodule;

    @ApiModelProperty(value = "问题")
    private String question;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "添加时间")
//    @DateTimeFormat(pattern="yyyy-MM-dd ")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime addtime;
}
